package com.ktgj.flight.common.qunar;

import com.ktgj.flight.common.qunar.domain.QnnarFlightSearchPriceResponse;
import com.ktgj.flight.domain.InterfaceEntity.*;

public interface QunarService {
    /**
     * 报价搜索
     * @param OrgAirport
     * @param DstAirport
     * @param DepDate
     * @param FlightNo
     * @param BackDate
     * @return
     */
    QnnarFlightSearchPriceResponse flightSearchPrice(String OrgAirport, String DstAirport, String DepDate, String FlightNo, String BackDate);
    /**
     * 仓位验价
     * @param request
     * @return
     */
    MoFlightCheckResponse flightCheck(MoFlightCheckRequest request);
    /**
     * 创建订单
     * @param request
     * @return
     */
    MoCreateOrderResponse orderCreate(MoCreateOrderRequest request);
    /**
     * 查询订单详情
     * @param request
     * @return
     */
    MoQueryOrderResponse queryOrderInfo(MoQueryOrderRequest request);
    /**
     * 订单支付前校验
     * @param request
     * @return
     */
    MoOrderCheckResponse orderCheck(MoOrderCheckRequest request);
    /**
     * 支付订单
     * @param request
     * @return
     */
    MoOrderPayResponse orderPay(MoOrderPayRequest request);

    /**
     * 申请退票
     * @param request
     * @return
     */
    MoOrderRefundResponse orderRefund(MoOrderRefundRequest request);
}
